﻿<%@ Page Title="" Language="C#" MasterPageFile="~/global.Master" AutoEventWireup="true" CodeBehind="ManagerWard.aspx.cs" Inherits="Hospital.ManagerWard" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="center">
        <div id="title">Thông tin phòng</div>
        <table class="table">
        <tr>
            <td>Mã phòng:</td>
            <td><asp:TextBox ID="txtNumber" runat="server" Width="50px" Enabled="false"> </asp:TextBox></td>
            <td>Y tá phụ trách:</td>
            <td><asp:TextBox ID="txtNurse" runat="server" Enabled="false"> </asp:TextBox></td>
        </tr>
        <tr>
            <td>Phòng bệnh:</td>
            <td><asp:DropDownList ID="listWard" runat="server" Width="100px" AutoPostBack="True" OnSelectedIndexChanged="listWard_SelectedIndexChanged"> </asp:DropDownList></td>
            <td>Số điện thoại:</td>
            <td><asp:TextBox ID="txtPhone" runat="server" ></asp:TextBox></td>
        </tr>
        </table>
    </div>
     <div class="clear">
        <asp:GridView ID="grvDetail" runat="server">
        </asp:GridView>
    </div>
    <div id="title">Thông tin bệnh nhân</div>
     <table class="table">
        <tr>
            <td>Mã bệnh nhân:</td>
            <td><asp:TextBox ID="txtId" runat="server" Width="50px" Enabled="false"> </asp:TextBox></td>
            <td>Tên bệnh nhân:</td>
            <td><asp:TextBox ID="txtName" runat="server" Width="150px" Enabled="false"> </asp:TextBox></td>
        </tr>
        <tr>
            <td>Giường:</td>
            <td><asp:DropDownList ID="DropDownList3" runat="server" Width="100px"> </asp:DropDownList></td>
        </tr>
        </table>
    <div id="function">
        <asp:Button ID="btnInsert" runat="server" Text="Thêm bệnh nhân" OnClick="btnInsert_Click"></asp:Button>
        <asp:Button ID="btnDelete" runat="server" Text="Xóa" OnClick="btnDelete_Click"></asp:Button>
        <asp:Button ID="btnUpdate" runat="server" Text="Chuyển giường/phòng" OnClick="btnUpdate_Click"></asp:Button>
        <asp:Button ID="txtReset" runat="server" Text="Làm mới" OnClick="txtReset_Click"></asp:Button>
    </div>
</asp:Content>
